package com.leadnews.mapper;

import com.leadnews.pojo.ChatgptKey;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 自己
* @description 针对表【chatgpt_key】的数据库操作Mapper
* @createDate 2023-03-01 06:46:26
* @Entity com.leadnews.pojo.ChatgptKey
*/
public interface ChatgptKeyMapper extends BaseMapper<ChatgptKey> {
@Select("select * from chatgpt_key where access_key=#{accessKey}")
List<ChatgptKey> findBy(String accessKey);
}




